package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.dto.ChannelTradeAmountRandomRuleDTO;
import com.ayf.payment.game.api.entity.ChannelTradeAmountRandomRule;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.math.BigDecimal;
import java.util.List;

public interface ChannelTradeAmountRandomRuleMapper extends Mapper<ChannelTradeAmountRandomRule> {
    List<ChannelTradeAmountRandomRuleDTO> getChannelTradeAmountRandomRuleList(ChannelTradeAmountRandomRuleDTO channelTradeAmountRandomRuleDTO);

    ChannelTradeAmountRandomRule getChannelTradeAmountRandomRule(@Param("payChannelId") Integer payChannelId,@Param("checkAmt")BigDecimal checkAmt);
}